package com.galangel.bookservice.domain.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 图书信息表
 * </p>
 *
 * @author galangel
 * @since 2025-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("book_copy")
@ApiModel(value="BookCopy对象", description="图书信息表")
public class BookCopy implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "书籍唯一标识")
    @TableId(value = "bid", type = IdType.AUTO)
    private Long bid;

    @ApiModelProperty(value = "国际标准书号（带连字符格式如978-7-02-013539-3）")
    private String isbn;

    @ApiModelProperty(value = "当前售价")
    private BigDecimal price;

    @ApiModelProperty(value = "品相：全新、轻度污渍、有划线或标注")
    private String bookCondition;


}
